# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=cawbird
pkgver=1.1.0
pkgrel=0
pkgdesc="Fork of the Corebird GTK Twitter client that continues to work with Twitter"
url="https://ibboard.co.uk/cawbird"
arch="all"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev gspell-dev gst-plugins-base-dev libsoup-dev json-glib-dev meson ninja sqlite-dev vala"
options="!check" # Error creating directory /home/pmos/.config/cawbird: No such file or directory
source="$pkgname-$pkgver.tar.gz::https://github.com/IBBoard/cawbird/archive/v$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	abuild-meson . output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="39bc054e8b689da2b7df1e206195bb53562d189148567124280da5c588fff5fdd28685baa152692ddd01a2036c5c78188b5abd6c3ac66406eedbaf5f05f00e10  cawbird-1.1.0.tar.gz"
